package demo3;

abstract public class Animal {
    public String name;

    public Animal(String name) {
        this.name = name;
    }
    abstract public void eat();
}
